//
//  FAITHHttpTool.h
//  FAITH微博-02
//
//  Created by faith939339094 on 16/3/18.
//  Copyright © 2016年 faith939339094. All rights reserved.
//

#import <Foundation/Foundation.h>
@class AFMultipartBodyStream;
@interface FAITHHttpTool : NSObject
+(void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;

+(void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;

//+(void)post:(NSString *)url params:(NSDictionary *)params constructingBodyWithBlock:(void(^)(id<AFMultipartFormData> formData))body success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;
@end
